Fix semantic merge conflict related to updated function signature
testhelpers.TempDir function signature was changed in 21987208, resulting in a semantic merge conflict that caused the praefect dataloss tests fail to build. This updates the dataloss tests to use the updated signature.