[sr-dev] git:5.2:4061a1d7: utils/kamctl: dbtextdb.py close previous opened file properly