Fix #172: writing SVG to a file.