fix debug output
do not report a warning when a empty file is send on systems without sendfile