Use a not recursive namei algo.

Suggested by mpi@