CLN: PY3 String/BytesIO
- [x] xref #25725
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Imports `StringIO` and `BytesIO` from `io`. Removes `cStringIO`