Change backup to be more env storage-centric.

This is the first patch in a series that will fix backup to be storage-centric rather than file-centric.  The next step will involve changing apiserver to make backup an normal API method rather than a POST-based one.
You don't need this else (move short variable declaration to its own line if necessary).