Updated to include functionality to dump all cards with a specific legality to a CSV.