sockfilt.c: log file descriptor number on read/write error