Fix frequency binning.
Add huffman tree file used in tests.