Fixed stack overflow when vendorizing large numbers of files.