Do line endings correctly for SMTP