Export tree for each fold