csv2ini.py: support upgrade function conversion