Apply end_of_line before save. fixes #18