check file exists before trying to delete it
Merge pull request #294 from andrewjpage/import_bai_rm_fail

check file exists before trying to delete it