Fixed an issue where the sqlite db was getting opened too many times on export