use bucket url, instead of window location, for file download path