Fixed issues with X-Sendfile not working