Add an option to merge new mappings with the old ones when writing mappingFile.