write a temporary dump file to a different location, then move to our final location

[fixes #57420088]
We need to do this to ensure that when we do things with the dumpfile, like copying to NFS or Manta, that we have a complete file (that is one that's not being written to)