Pandoc 1.11.1 works for me on Ubuntu, going straight from Markdown to Markdown, although it converts #
headings into underlined headings:
pandoc -o README.md 1.md 2.md 3.md
Make sure your files include a final newline in each of your source files; omitting this is the only way that I was able to reproduce your error.