bugfix for into outfile
Merge pull request #614 from yakolee/master

bugfix for into outfile #582