Fix new line character according to rf.