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

  end

  @doc """
  Changes the unix file `mode` for a given `file`.
  Returns `:ok` on success, or `{:error, reason}`
  on failure.
  """
  @spec chmod(Path.t, non_neg_integer) :: :ok | {:error, posix}
  def chmod(path, mode) do

  end

  @doc """
  Returns information about the `path`. If the file is a symlink sets
  the `type` to `:symlink` and returns `File.Stat` for the link. For any
  other file, returns exactly the same values as `stat/2`. For more details
  see http://www.erlang.org/doc/man/file.html#read_link_info-2

  ## Options

