Fix text output for single scalar value

Fixes the case where a `--query` arg produces a single
scalar value.  For example, this now works as expected:

```
  $ aws ec2 create-key-pair --key-name testkey --query KeyMaterial --output text > ~/.ssh/foobar.pem
```

cc @petermoon