support of attachments with dos-like new lines