windows:IO.write doesn't truncate the file and writes the given string if an offset is given
windows:IO.write doesn't truncate and writes at the given offset after passing empty opts
windows:IO#write on Windows normalizes line endings in text mode
fails:IO#write on STDOUT raises SignalException SIGPIPE if the stream is closed instead of Errno::EPIPE like other IOs

windows:IO#write on a pipe raises Errno::EPIPE if the read end is closed and does not die from SIGPIPE
fails:IO#write on a file writes binary data with newline conversion if no encoding is given
fails:IO#write on a file writes binary data with newline conversion if encoding is ASCII-8BIT
