Fix for unlink events on empty directories, also prevents files from cluttering the watched object