config: fix ConfigParser.read() string types. closes #1415