fixed svgPath option.

#### Bugfixes:
* Option  `svgPath` was unreachable because of `('' + _options.type).toLowerCase()` and defaulted to `png` instead.
* Function `SVGPath` did not push `null` to stream before returning.