fdwalk should return 0 on an empty directory