title: Out-File -append in Powershell does not produce a new line and breaks string into characters
body: <p>I'm trying to understand some weird behaviour with this cmdlet.</p>
  
  <p>If I use "Out-File -append Filename.txt" on a text file that I created and entered text into via the windows context menu, the string will append to the last line in that file as a series of space separated characters.</p>
  
  <p>So:</p>
  
  <pre><code>"This is a test" | out-file -append textfile.txt
  </code></pre>
  
  <p>Will produce:
  T h i s  i s  a  t e s t</p>
  
  <p>This wont happen if out-file creates the file, or if the text file has no text in it prior to appending. Why does this happen?</p>
  
  <p>I will also note that repeating the command will just append in the same way to the same line. I guess it doesn't recognise newline or line break terminator or something due to changed encoding? </p>