fix app download url fail with spaces

Copy does not work with spaces in filenames.  Apps fail to download if they have a space in them.  Encoding the entire URL will cause errors as well.  Replace spaces with %20