Add "deep" packed-log version detection

Instead of just relying on the filename, we look inside at the
actual records to determine which file version we're seeing.