cleanSim now uses 'simctl erase', and still keeps keychains. fixes #3772

since we're not in a sync method and this isn't try/caught, why not just use fs.writeFile?