Experiment: Use a safer way to produce a temporary filename
Using C-stdio's tmpnam
leads to the compiler warning
the use of `tmpnam' is dangerous, better use `mkstemp'.
A better mechanism based on the epoch time is used instead to produce a unique temporary filename.
Closes issue #332 (closed)