Send content-length header when getting file