[file-notifier] Attempt to fix miner restart causing missed directories