Fix shell workdir for streams