Better base64 encoding.