[ruby-core:113795] [Ruby master Feature#19712] IO#reopen removes singleton class