Workaround for upstream SDK bug

aws/aws-sdk-ruby#604