Tweaks to add support for SVG files in ImageUpload and GetImage