Bug fixes

* Fixing formatting bugs when saving file.
* Fixed bug where AddKey() would return true when it actually failed.
This would happen if an ini that had a section with no keys was loaded,
and then later AddKey was called.