[ruby-core:115366] [Ruby master Bug#7964] Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String