Add test for gunzipping concatenated gzip streams
Handle concatenated gzip files. Fixes #6032.