updated header freq tables and varint format. fixed erroneous
non-byte-aligned output.