store: fix some chunk writing
colourful