inotifywait(1) wrapper to monitor dirs and do things with files