Show a QMessageBox when saving a file failes.

Fixes issue #314

Although feedback is given in the console, it is not obvious a save failed unless you look at the console output.