unix: fix missing return value warning in stream.c