Encoding fixes for subject lines and escapes lines that start with a dot