[ruby-core:112449] [Ruby master Bug#19441] Closing an IO#dup behaviour