`IOBase` and `BufferedIOBase` have no methods in Python 2. They are, however, implemented in `_io` -- we should consider copying them over.