fix bug that caused an extra line feed for ascii attachments