overwrite out-dated config file

Fixes #83.
@ben-jones, please review.
why not always write out? It's cleaner.