Uniqueify classes_to_index in rummager export.

Without this, some formats get dumped to the export file multiple times.