Grunt seems to convert '\n' to '\r\n' in task parameters