avoid dependency on Chj::Cwd::realpath if possible; export realpath