python base64 encode return string