Add two tests: extra bytes at end-of-file ok without consistency check, error with. --HG-- branch : HEAD