[sr-dev] git:5.3:e26e587f: utils/kamctl: dbtextdb.py close previous opened file properly