use new AWS SDK API to avoid PassThrough stream workaround

closes #47