Converting response of S3Connection.build_post_policy to bytes because that is what base64.b64encode expects.