Fix fatal issue with corrupt settings files

* If a settings file is found to have bad xml due to some
  sort of corruption report it to the user then try to delete
  the file and carry on.