(UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to