Adding a value in the config file caused to lose ConfigFile.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>
Merge pull request #254 from greatman/master

Adding a value in the config file caused to lose ConfigFile, hence removing write().