Fix graph generation

In some cases nimstat would fail to generate graphs. This was caused by
a mismatch in week numbers: %W starts from 0 while the ISO week number
starts from 1.