SequenceFileDialog: Fix a bug with the name mapping