Update StreamExts.cs