Set the 'pipefail' option on shell commands

This way we can detect failure of dump / restore commands when used
with the 'pipe' handler (when we're using shell pipes for composition).
1 job for v2 in 41 seconds
Status Job ID Name Coverage
  Test
passed #9135
test

00:00:41