Fix my recent change for sending large files via the http server. This code