fix duplicate detection on "file" events
0.6.1