Allow scanning temporary directory.