C#: 2 unwanted additional characters are being appended during file write
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1488486/why-does-binarywriter-prepend-gibberish-to-the-start-of-a-stream-how-do-you-avo">Why does BinaryWriter prepend gibberish to the start of a stream?  How do you avoid it?</a>  </p>
</blockquote>



<pre><code>public static void saveFile(string path, string data)
{
    using (Stream fileStream = File.Open(path, FileMode.Append, FileAccess.Write, FileShare.None)) 
    {
        using (BinaryWriter bw = new BinaryWriter(fileStream))
        {
            bw.Write(data);
        }
    }
}
</code></pre>

<p>However, everytime the method is called it adds the following 2 characters before writing: <img src="http://i45.tinypic.com/smxc3d.png" alt="alt text">. I'm saving it to a .txt if it makes any difference. Also, the string displays fine on the trace output. How do I fix this?</p>
