Fix key serving a download for the key

* Serve key with text/plain MIME type instead of a binary octet-stream