Fix single read to file print bug