Dump an XML document to a file. Will use compression if
          compiled in and enabled. If @filename is "-" the stdout
           file is used.

def saveFile(self, filename):
        """Dump an XML document to a file. Will use compression if
          compiled in and enabled. If @filename is "-" the stdout
           file is used. """
        ret = libxml2mod.xmlSaveFile(filename, self._o)
        return ret