Set mimetype of text/plain of HTTP 500 errors