Add test for chunk deduping when writing
Dedup chunks when writing
Move dedup logic into update-chunk!
Merge pull request #13 from leon-barrett/dedup-chunks

Dedup chunks