fix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.