[graphspell][py] convert hexadecimal string to binary string