Optimize btree node writes

This uses the new couch_file:append_terms/2 function to write all chunks
in a single write call.
1 file changed