def METHOD_NAME(self, uuid):
    tmpf = tempfile.NamedTemporaryFile()
    tmpfname = tmpf.name
    tmpf.close()
    try:
        self.collector_safe_file_download(uuid, tmpfname)
    except Exception as e:
        raise ComplianceError("%s: %s" % (uuid, str(e)))
    return tmpfname