Escape XML comments correctly when writing out SVG.  Turns '--' into '- -'