Allow for testing failing uploads.