Don't ignore hg-fast-export.py exit code

On line 80-87, the exit code of `hg-fast-export.py` is ignored due to the default behavior of pipes, which is to return the exit code of the rightmost component.

This pull request adds `set -o pipefail`, which changes this behavior to return the rightmost nonzero exit code.