Get an exclusive read lock on the file so we don't fire off before somebody else is done writing to it. Work around annoyances and bugs in fsevents