GioStreamReadAll: make more resilient to changes in input