Fix TPExporter not properly closing the zipWriter