Fix streaming upload to S3 and provide more useful stack traces multi-threaded failures. Fixes #158.