Avoid content-encoding issue while streaming datasets
This PR will fix streaming of datasets served with gzip content-encoding:
```
ClientPayloadError: 400, message='Can not decode content-encoding: gzip'
```

Fix #2918.

CC: @severo 