Reworking the file handle locking in the disk utility class.