Fixed resolving of content type when serving static resources.