Simple pyinotify script to monitor output