I found that some hosts are using ASCII(text) as default transfer mode, and others use BINARY. So when I change this to the one that server use, there is no more new lines in transfered files.
In WinSCP this is located under Options->Transfer->Edit->Transfer Mode