Correct comparsion of None
Fixes #50 Output from TextOutputTool is stored to file