fix unpack "H", and implement (un)pack "w"