def makeFile(self, relativePath, content):
        baseDirectory = FilePath(self.mktemp())
        directory, filename = os.path.split(relativePath)
        directory = baseDirectory.preauthChild(directory)
        file = directory.child(filename)
        directory.child(filename).setContent(content)
        return file
Do a raw export from an in-memory representation of headers and data.
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/ChangeVersionTests.makeFile--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchexport/export.py/export_raw