io: Take scope delegates in searchDir.