Fixed the deprecated status for sendfile