Make sure FlushAsync executes the flush operation on the default task scheduler
Add required precondition checks for StreamExtensions.WriteAsync
Merge pull request #53 from sharwell/stream-tweaks

Stream tweaks