Not making a case for tmpnam in particular, making a case for posix and a common solution to the problem.