Adding StreamWriter extensions