Fix issue with demuxing on stdin.