Fix crash on save of configuration when output file has no write permissions.
Merge pull request #5246 from alja/saveConf-crash

7x Fix crash on save of Fireworks configuration when output file is not  valid