SVG: use a single path instead of multiple rects for RLE

This reduces the SVG output size by nearly a factor of 7. As a bonus,
rendering of the resulting SVG at high resolutions does not show the
striping which was clearly visible with the previous approach.