 
   ## Examples
 
-      File.rm('file.txt')
+      File.rm("file.txt")
       #=> :ok
 
-      File.rm('tmp_dir/')
+      File.rm("tmp_dir/")
       #=> {:error, :eperm}
 
   """


  defp change_mode_windows(path) do
    if match? {:win32, _}, :os.type do
      case F.read_file_info(IO.chardata_to_string(path)) do
        {:ok, file_info} when elem(file_info, 3) in [:read, :none] ->
          change_mode_windows(path, file_info)
        _ ->

  end

  @doc """
  Changes the `mode` for a given `file`.

  Returns `:ok` on success, or `{:error, reason}` on failure.

  ## Permissions

    * 0o400 - read permission: owner
    * 0o200 - write permission: owner
    * 0o100 - execute permission: owner

    * 0o040 - read permission: group
    * 0o020 - write permission: group
    * 0o010 - execute permission: group

    * 0o004 - read permission: other
    * 0o002 - write permission: other
    * 0o001 - execute permission: other

  For example, setting the mode 0o755 gives it
  write, read and execute permission to the owner
  and both read and execute permission to group
  and others.
  """
  @spec chmod(Path.t, non_neg_integer) :: :ok | {:error, posix}
  def chmod(path, mode) do
