Well, if you're just looking at the file on the screen, the '\r' (0xd, "carriage return") won't show up -- you'd need to look at the individual characters in the file, e.g., using the "od -c" command.
If you want, you can drop me your email address and I'll email you my working copy of that file. Of course, if you're half as paranoid about security as I am, you wouldn't accept a shell-script mailed to you by a total stranger
-- in that case, you could see about extracting that script from a older version of LimeWire. Good luck.