fix for downloading with params
Merge pull request #68 from epantry/download-with-params

fix for downloading with params