Minor fix for cases of malformed .ini file (zero-terminating text file like it was before previous commit).