Note that you don't have to do the "echo" thing. If you've got the file on your PC, you can edit it with a binary editor such as UltraEdit and remove the offending characters with a search-and-replace.
The problem is that DOS/Windows files have both a carriage return (0x0d) and a linefeed (0x0a) at the end of every line. Linux only wants one of those characters, not both.
Unfortunately, I don't remember right now whether it's the CR or the LF that indicates a new line in Linux. Probably the LF, so try that first and see if it works. Just do a search and replace, telling it to replace all instance of 0d with "nothing", and then re-upload the file.
___________
Tony Fabris