use content-length rather than chunked for files in web server