Support for download files as zip archive

Closes #802. Allow users to return files as compressed zip archives.

Right now we are in freezing time until next final release, so I think this pull request can be merged only before final release.
what about reducing the visibility here?
(users should to use the factory method `of` instead, right?