simple script to watch for changes in a given folder, with OS X error reporting and emailing functionality