Replacing Util.createTempDir with the standard TemporaryFolder rule in some tests.