Download task fixes

Addresses :

https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/132
https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/133
lgtm