Fix decoding base64 strings. (fixes #2)