Fix some refactos for iostream changes (in -Asserts mode).