Check that new files are created temporary until completely done
Check that new files are created temporary until completely done
We must not overwrite files with the chance of the backup getting killed and the file being corrupt.
Write everything temporarily, then move to final filename.