Add XML declaration to export template.

This simply adds the XML declaration to the top of the XML export template.

Indentation is intentionally omitted so that in the output `<?xml` appears at the very start of the document.