Mass added "set -o pipefail" in all bash scripts that have error traps.