Add a UUID to temp folder path generation code

Previously, running tests consecutively that didn't clean up properly
appeared to reuse the temp directory from previous tests. Perhaps
because the test runner reused a JVM.