StreamWriter delegate added for PCL