Simplify testPutFileParallel

Create only one temporary file and use explicit delete instead
finalization to remove it.