force test case failure if file cannot be written
Merge pull request #4332 from bparees/extended_debug

Merged by openshift-bot