Fixed incorrect snapshot diffs generated by too many "file modified" events

Moving a few hundred files at the same time generates incorrect snapshot diffs.

I've added a quick sleep(1) call and regenerated the new snapshot when the number of files in both snapshots is not identical.

This fix has only been tested on OS X.