Changed fd.c to use length-terminated name for fd_by_name