added support for svgz (gzipped svg)