Fixes issue #86
Better dealing with fopen exceptions
Add save_ohip setting
More and better testing