On other OS's based on linux/unix (like OS X is) I've used the command dos2Unix to remedy this.

Not sure if that command comes standard with OS X or not, but if not you can probably add it.