Fixes FIXME. Un-hardcode mimetypes in routes.

Has the added benefit of allowing other files to be served from data dir.