Fix/xml escape

fix all writeHeader_ with writeXMLEscape