python codecs decode base64