Fix #1, proper message
Merge pull request #4 from yamgent/bug-outputfilecrash

Fix #1, proper message