Disable output buffering

So that the script can be used as a daemon, for instance with systemd
Merge pull request #1 from mquandalle/patch-1

Disable output buffering