toString() before writing to config file. Fixes #6.