[ruby-core:126149] [Ruby Bug#22209] IO#set_encoding is ignoring the :newline keyword argument when given Encoding positional argument