Faster reading chunks with corrupt header.
Including a test suite.