Fix WeChatCardSigner bug in Python 3