tempfile templates now contain the process id in order to avoid (rare)
race conditions