Genie -> relix:  Move chdir() system call