Remove BytesIO and StringIO from py3compat