node async directory scanner