config: ensure python3 configparser will always set strings. Closes #2122