avoid IllegalArgumentException: Prefix string too short at
java.io.File.createTempFile