de-duplicates photos that have the same file name but contain different images