Set stream flags to zero upon initialization.