Flush data after each write in LogFile target.

This will ensure that every log line is written to disk. In case of
unexpected application exit you can almost always see a valid log.

It makes "tail -f" look better too. This might make too much
overhead in logging intensive applications. Consider using syslog target,
or LogBuffer then.