Huffman output formatting