Add error correction codes to pack files. This is a breaking change that requires an increment in repository version number and a migration strategy.