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