Fixes #4454 Make a temporary clean cnf file if unable to parse existing