Need to figure out the default temporary directory in Java? Try System.getProperty("java.io.tmpdir")
This is not listed in the Javadoc for System, it's actually under the
File class's createTempFile method. This property even appends
the trailing / to the directory so you can just start
concatenating. Nice.