Add support for SVG file generation.

Add support for SVG file generation.
Add "svg" as an allowed extension