encode urls passed to add_query_arg.

fixes issues with s3/cloudfront urls and install/activate links.