forward port: improve error handling for AWS s3.

present the actual error message to the user