port changes from upstream Google Snappy: compress 64k chunks and use "+" instead of "|".