Fail the build if a failed test is recorded

Summary: This only guarantees correctness if sync_job finishes **after** all job steps do, and we've seen cases where that hasn't been true currently.

Reviewers: cf

Reviewed By: cf

Differential Revision: https://tails.corp.dropbox.com/D43370