Hello!
I don't want to include this into the module. I know that there could be issue with the hook override but I just can't support compatibility with all the modules at once. This patch could break few sites which is using SVG image now.
Thank for your contribution. Probably someone will include this patch into their project.