Implement splice_write and splice_read so that sendfile() works on kernel 2.6.23. (Submitted upstream.)