Add tmp directory and use for java.io.tmpdir