Fixing an issue with the handler that calculates the Content-MD5 header for S3 operations.  Fixes https://github.com/aws/aws-cli/issues/230.
Fixing encode/decode issues in Python 3.x.
More Py3 fixes.