added xsendfile support