[ruby-core:119537] [Ruby master Bug#20802] It is possible to set the encoding of an IO instance to one that requires binmode when binmode is not set