Stop flushing if "-o" is set in CommandLine

This reduced lots of time if output file is large