fix #1617 Fixes download method in galery/views

If the cache path doesn't exist, we create it and
not the zip file.