Better base64 decoding