fails:IO.new raises an error if passed matching binary/text mode two ways
fails:IO.new raises an error if passed conflicting binary/text mode two ways
windows:IO.new uses the internal encoding specified via the :internal_encoding option
windows:IO.new ingores the :encoding option when the :internal_encoding option is present
windows:IO.new does not use binary encoding when :internal_encoding option is specified
windows:IO.new raises an Errno::EBADF if the file descriptor is not valid
windows:IO.new raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode
fails:IO.new ignores the :encoding option when the :external_encoding option is present
fails:IO.new ignores the :encoding option when the :internal_encoding option is present
