toSVG method that considers textPath of fabric.Text-like for #729.