Optimize Dist::Zilla->_check_dupe_files

Build the list of dupes in just one step while browsing the list of files, instead of browsing the list twice.