[DF-4438] - unlock file before deleting.