Order dupes by name
Fix encoding for unindexing files
Fix encoding for unindexing files