avoid watchdog getting fooled by binary junk in logfile

If grep thinks the file is binary it only prints "Binary file ... matches"
Merge pull request #126 from andreas-schwab/master

avoid watchdog getting fooled by binary junk in logfile