Fixed error in FileIO code.

There was a constant which had been there for testing, but was only for
integers. Using characters, it gave strange results. More bugs to quash!