`struct.unpack` requires `bytes` on Python 2, but `unicode` on Python 3.