Fix a number of bugs in zbase32 and add a fuzzer which caught them.