Fix issue with printing to log file and add flushes to make sure changes to files get written.
Fix issue with printing to log file and add flushes to make sure changes to files get written.

davidlougheed/fake-frog