Fixed a lurking bug in ascii.py.
Merge pull request #329 from ketch/fix_io_dim

Fixed a lurking bug in ascii.py.