Added fflush to print the output to the file
Merge branch 'master' of https://github.com/spanceac/raspboil