Adjust flattener script to produce validating RegXML 2.0b