Fix ROOT if hg-fast-export is in PATH

dirname $0 will return "." if hg-fast-export, which will make hg-fast-export.py not to be found.