Don't discard timestamps from invalid packets.
Instead put them on the most recent valid packet on the page. Also bullet-proof the offset checking to the "use the current position when seeking" code added in 6d61f3f1. The previous code relied on the file not changing out from under us, which we shouldn't do.
Showing with 20 additions and 12 deletions