'Save the document under the filename.
If the filename is \'-\' then save to stdout'

def save(self, outputfile, addsuffix=False):

    if (outputfile == '-'):
        outputfp = zipfile.ZipFile(sys.stdout, 'w')
    else:
        if addsuffix:
            outputfile = (outputfile + odmimetypes.get(self.mimetype, '.xxx'))
        outputfp = zipfile.ZipFile(outputfile, 'w')
    self.__zipwrite(outputfp)
    outputfp.close()
