minor signed/unsigned cleanups for Streams code