[library] delete the tape file if corrupted