                    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



  @doc """
  Same as `open/3` but raises an error if file could not be opened.

  Returns the function result otherwise.
  """
  @spec open!(Path.t, list, (io_device -> res)) :: res | no_return when res: var
