fix error message for FreeBSD

apparently err() call with heredoc was not working
sanity check for fswatch/OSX