fixed issue #308: failure on "Download"
fixed incorrect file extension for zipped folder download (was tag.gz instead of tar.gz)
Merge pull request #310 from Hetch/download_fix

fixed issue #308: failure on "Download"