Replace HexBits with strprintf

Get rid of HexBits.