Adds experimental timestamp clamping

Basically attempts to address issues with 'clock jitter' when the
flushes are occurring around flushinterval boundaries.

Fairly rough first go, that will not cope with date/time changes on the
machine (effectively an absolute time is calculated once, and incremented
for each flush!)