[ruby-core:121658] [Ruby Bug#20919] IO#seek and IO#pos= do not clear the character buffer in some cases while transcoding