Flush GM log after every single freaking log entry

Oh well, I guess it's still slightly better than reopening the
file all the time ...

There's still a bug in our cron scripts if no one uses a GM command
in the first few minutes of a new month.