Writes the XML represented by hash to the file originally passed to @new .
hash
The XmlHash to write.