fix(s3): error messages are too specific to Amazon

This is even more important now that we can support s3-like
endpoints too.

fixes #1133