:class:`io.TextIOWrapper` now correctly handles the decoding buffer after
``read()`` and ``write()``.