OS-3298 sendfile needs to handle NULL offset pointer