[JENKINS-18459] reporting where it's failing to write to assist diagnostics
[FIXED JENKINS-18549]

Failed to cache a jar file shouldn't fail a classloading.