Fix bug that made download buttons break .markdown files.

Review URL: https://chromiumcodereview.appspot.com/14477019