Fixes to static file serving.