convert line separator to CrLf