LogConvert: Verify that there are enough bytes to read the header

Since reading the header information isn't within the try catch we
should verify there are enough bytes.