boto/boto — pull request #2220 by dpatz (2014-04-16 21:09:39+00:00)
Title: Converting policy to bytes to do a valid b64encode

S3Connection.build_post_policy returns a string and in order to do a
base64-encode, we need it to be in bytes.