Fix base64 decoding of binary data.