Fix IniFile to use string& instead of char*
Also removes .c_str() usages where found.