Set pipefail, so tee doesn't eat the exit status