Fix an issue where static files would have no content-type or -length set.