=per #3797 Harden file deletions in persistence tests