Update membership export to avoid timeouts by using subprocess.