Fixed parsing ini files - DIY it because parse_ini_file doesn't like the semicolons in sections - thinks it is a comment