Add pipefail where allowed.