unix: remove superfluous check in stream.c