Fixes for some S3 Unicode issues. Closes #158.