Fix bug 891421 - Catch errors thrown by S3 pipe