include folder structure in zip file by using jszip's folder function
(this was broken due to https://github.com/Stuk/jszip/issues/130)