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 can omit type io.Reader from declaration of var r; it will be inferred from the right-hand side.