Make sure sensitive folder names are not scanned as files.