fails:IO.write doesn't truncate the file and writes the given string if an offset is given
fails:IO.write accepts a :mode option
fails:IO.write raises an error if readonly mode is specified
fails:IO.write uses encoding from given options, if provided
fails:IO.write uses an :open_args option
