ERT-460: Added small check to verify that export file is written