Clean up the backups package.

This is intended as an idempotent change in preparation for further patches.
It's actually necessary to close the gzip writer before calling hasher.Base64Sum(), since the writer may buffer some of the data.  I spent some time figuring that one out. :)  I'll add a note and adjust this part to make what's going on more clear.