Removed typo in MOD XML template.
Added XML tidying to bulk export.