Use File.createTempFile for temporary files