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