Fix \r\n in heredoc under windows