Adding better handling of S3 errors.
Merge branch 'master' of https://github.com/nathanpeck/s3-upload-stream