normalize line ending