Fix support for large streams in AWS.S3.ManagedUpload (Node.js)

Also fixes edge case where upload fails when stream size is an
exact multiple of the partSize.

Fixes #442