Strip out any parameters from image url when generating local file name

This mod handles the case where the image file URL is https://xxx.com/path/file.jpg?someApiKey=XXXXXX&moreStuff=YYYYY