Fixed issue with unencrypted downloads not returning a URL