gravelrpc: fd needs to be instanceof FD