Deprecate streams on Windows
Fix test_streams on Windows
NOQA some stuff