You may need chr(13)||chr(10) for Windows - i.e. CRLF