Fix OpenLayers.Format.XML.write bug in IE