ctfb: handle the fact that we can have . and .. in paths.

Always search the directory tree first, then if that fails treat . and
../ specially.
compute_csha: in debug print out the right sha!