Locking around tuna_chunk_merge

Towards #11