Switch to using some LLVM stream types.

Trying to solve some msan errors.