Fix group id naming fid->gid

@icewind1991 @DeepDiver1975