Added a timestamp to the logfiles.

The new timestamp sequence id will allow the logfiles to be properly
ordered after a compaction process.