Moved to io/chdir.c.