add line ending normalization