proper fix for the header size problem and its effects on rrd_resize