Fix rst doctests in io package
Merge pull request #1640 from mdboom/doctest/io

doctest/io