handle core-dump removal errors