Delete temporary files after they are read
This change deletes temporary files used for communication
between Rscript and the JVM once they have been completely read.