                    the parent directories
     * `:eisdir`  - the named file is a directory
 
-  The writing is automatically done in `:raw` mode. Check
-  `File.open/2` for other available options.
+  Check `File.open/2` for other available options.
   """
   @spec write(Path.t, iodata, list) :: :ok | {:error, posix}
   def write(path, content, modes \\ []) do
-    F.write_file(IO.chardata_to_string(path), content, [:raw|modes])
+    F.write_file(IO.chardata_to_string(path), content, modes)
   end
 
   @doc """


  The file is opened, given to the function as argument and
  automatically closed after the function returns, regardless
  if there was an error or not.

  It returns `{:ok, function_result}` in case of success,
  `{:error, reason}` otherwise.

  Do not use this function with `:delayed_write` option
  since automatically closing the file may fail
  (as writes are delayed).

  ## Examples



    modes =
      if raw do
        if :lists.keyfind(:read_ahead, 1, modes) == {:read_ahead, false} do
          [:raw|modes]
        else
          [:raw, :read_ahead|modes]
