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