replace \r\n to \n on windows