Horizontal gene transfer and gene dosage drives adaptation to wood colonization in a tree pathogen