Fix bug: lodash.js compile template with \n as line-ending, so we should normalize line-ending of whole output file, otherwise output file may mix \r\n and \n as line-ending