Use cairosvg rather than librsvg to convert SVG to PNG.