Clean up the backups package.

This is intended as an idempotent change in preparation for further patches.
While this is another function that won't be living much longer, I don't have a problem with doing this.