use java's create temporary file for intermediate perl input files