Use more modern streams2 streaming api

This is actually a uint8 according to the spec.