Get libhandle working on IRIX for qa. Put back fd_to_handle.