[sr-dev] git:master:5f52f990: utils/kamctl: dbtextdb.py close previous opened file properly