Switch to async file operations and close enumerator before entering searching subdirectories. Fixes #1