change the delete hook API so that the backupfile is optional this was breaking site deletion Closes: #455954