sanitize the filename used to store test errors in output_save.py
use correct name if error occurs in setup/teardown (related to #7)
Merge branch 'davidovich-sanitize_filename_in_outputsave'
Code cleanup after merge of 65fe79fa0fbed888e7132a2d782fd9c5df3f2016.