Make sure first argument to struct.unpack is str, not unicode.