Flush the log file after printing.

Otherwise you don't see the log output with tail -f until after the game quits.
Merge pull request #24 from eaburns/dev/eaburns

Flush the log file after printing.