[ruby-core:115981] [Ruby master Bug#20105] Introduce `IO::Stream` or something similar.