line ending normalization to UNIX style