use a different temporary filename for each process

tags: relevant