Read the last timestamp from the RRD file, instead of setting it to zero. (#744)
This fixes a dataloss problem when trying to insert old data. rrdcached
will accept the data at first, but then fail the whole batch when trying
to flush the data to disk.
The last timestamp is initially set to 0, and later updated to the
timestamp of the first update. However, if the RRD file already contains
newer data, fails later on. And since RRD cache writes all updates
in one go, the whole batch of samples fails and is discarded (even though,
just the first few updates are too old).
By reading in the last timestamp from the RRD file, we already fail
correctly on the individual update commands (ie. on the protocol layer).