Better failure reporting on transfer errors.

The status report now shows a more useful explanation when a file
transfer failed. This makes debugging workflows easier.
Merge branch 'hotfix/better-failure-reporting-on-transfer-error' into develop