DOC: fix formatting error in io.rst

Lines had an extra space causing the code block above to keep going for the rest of the note.
Merge pull request #8223 from isms/patch-1

DOC: fix formatting error in io.rst