Improve static file handling.