formatting when using encoding and indenting writing to a file via saveXML
updated the corrupted zip file. Thanks to BDR for pointing this out.