send file using the sendfile() system call