CLN: PEP8 cleanup of the io module
Merge pull request #5663 from alefnula/pep8

CLN: PEP8 cleanup of the io module