Change saveConfig() to write() for 2.4

Changed the save function to work with Symphony 2.4
Merge pull request #6 from andrewminton/patch-1

Change `saveConfig()` to `write()` for Symphony 2.4. Closes #5