Ensure filenames being imported are unique.