return correct MIME type when serving static files. [closes #255]