Fixes an issue where images with a URL query string would have that included in the file extension of the downloaded file