Use Environment.NewLine when writing to a stream