[ruby-core:115908] [Ruby master Bug#18805] IO::Buffer is inconsistent when returning a string from an empty buffer