set Content-length when serving files