renamer.scan needs some files. fix #2481