public static void WriteAllText(this IsolatedStorageFileStream stream, string content) { byte[] buffer = Encoding.UTF8.GetBytes(content); stream.Write(buffer, offset: 0, count: buffer.Length); }