don't use mkstemp if the system call isn't avaiable