fixing bug in loadini layout.py
adding support for old format in saveini