Fix formatting of CSS-style colors in SVG output

When using the default colors for encoding QR codes as SVG, the default value of "fore_color" is 0 which results in:

  <g fill="#0">

Several browsers (Opera, FF) comprehend this anyway, but Google Chrome does not.

Instead of using #dechex to format the RGB colors, one could use sprintf. See my fix for an example.