public File save() throws IOException, CancelledException {
		Path tmp = Files.createTempFile("test", ".db");
		Files.delete(tmp); // saveAs must create the file
		trace.objectManager.flushWbCaches();
		trace.getDBHandle().saveAs(tmp.toFile(), false, new ConsoleTaskMonitor());
		return tmp.toFile();
	}
Save the trace to a temporary .gzf file

@return the new file
@throws IOException if the trace could not be saved
@throws CancelledException never, since the monitor cannot be cancelled
Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java