Fix time.

Since collectd time high res is stored in 2^-30 seconds, we convert to seconds
first and then convert to milliseconds. Maybe someone smarter can figure out
converting directly to milliseconds (accurately).