Corrected ROOT when hg-fast-export is in PATH

dirname $0 will return "." if hg-fast-export is in the path.
Use "type -p" to find the full path to the script