scifio: Add XMLTools.writeXML

AbstractOMEXMLMetadata: Use XMLTools.writeXML