convert ^M to newline


for whatever reason, dos2unix nor unix2dos works.  So, vi the file, :%s/^V^M/^V^M/g

^V^M = control V control M

g at the end means global (i.e. not only first occurrence.