Avoid using a temporary file
Use tinyxml2::XMLPrinter instead of a temporary file, when
compressing/decompressing the XML