Use bytearray.fromhex instead of binascii.unhexlify.