private static File createDBDir() throws IOException {

		File tmpDir = Application.getUserTempDirectory();
		int tries = 0;
		while (tries++ < 10) {
			File dir = new File(tmpDir, TEMPDB_DIR_PREFIX + getRandomString() + TEMPDB_DIR_EXT);
			if (dir.mkdir()) {
				return dir;
			}
		}
		throw new IOException("Unable to create temporary database");
	}
Creates a temporary directory which will be used for storing 
the unpacked database files.
@return temporary database directory
@throws IOException if failed to create DB directory
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/db/PackedDatabase.java