fix line end in windows
Merge pull request #3725 from minggo/line_end

fix line end in windows