hg-fast-export.sh/hg-reset.sh: replace egrep with grep