Add XML declaration to export template.