Chunk append: added integrity check