normalize line-endings