Normalize line ending.