remove deleted files when re-scanning a folder

cc @DeepDiver1975 @karlitschek @MTGap