Encode spaces in download link URL

Encode spaces with %20 to prevent errors when installing downloaded app.  Needed for copy() to work with spaces in URL.