Originally posted as a Categorized Question.
In reply to printing chr(10) to a file adds chr(13) infront by FixNEthing