Fixed INIFileWriter and INIReader bug.

When adding a category to a blank/empty file, the writer would start on
a new line, which would leave a blank line as the first line of the
file. The blank line would also cause the INIReader to error, but was
also fixed.