passfd: give nicer error for recvfd at eof