windows:IO.open ingores the :encoding option when the :internal_encoding option is present
windows:IO.open raises an Errno::EINVAL if the new mode is not compatible with the descriptor's current mode

