Use a stream filter for chunk encoding