WordPress migrator: Trim trailing CRs

Somehow the WordPress export XML from my blog are full of \r\n instead
of \n, but sometimes \n is used as well. It makes the resulting .md
files in neither DOS line endings nor Unix line endings. Converting
all \r\n into \n to make them consistent.