Bugfix:

Forcing last_ts to be long to avoid Runtime error that is a rare occurrence when the file starts out with smaller timestamps that can fit in 32b and then later on goes into 64b territory