Resolved issue where FileNamePurifier would hang, and not purify any files in cases where some of the files in the selected directory were locked.