Use Vim batch mode

Use different temporary files and remove them when finished.
Update Readme and use Markdown.
Can you use `\n` for the first `^M` and `\r` for the second? (It works in vim. Not sure about sed.)