Added missing awaits to StreamWriter
Merge pull request #544 from svick/missing-awaits

Added missing awaits to StreamWriter