tee-pipefailDuplexes stdout and stderr to a file, like tee, but also forwards the exit code of the original process