Fixed the download API issue

Issue was caused by the fact that the parameter name was 'key' which seems to conflict with some App Engine inner workings.

Re-named the field and the API is working as expected now. 

@tejohnso @alexey-rise please review.

Thanks.