Had the same problem with my ex 03 TF but no burnt wires just broken cores in the cable trunking. I have just finished rebuilding my 05 TF and while the engine was out (I took the boot lid off to make the job easier) to remove the boot lid you have to unthread the harness out of the boot which is a time consuming job on its own; so I fitted a new cable and extended it so there is a loop of cable above the boot hinge so the cables don't have to bend so much; I also put a male and female plug at the harness so if you ever need to remove the boot lid you just unplug the cable.
Just a note, in that part of the boot harness there are 2 cables joined together(a very poor factory job) one is an earth and the other is a permanent live feed (with the ignition off so disconnect the battery when you are doing the repair)
I used a good quality 7 multi-core cable (cable size 1mm sq per core) and a 9 pin connector as per the image.
The thing that is worrying to me is why the cables burnt; all the power feeds are fused and would be low rated fuses as you are only feeding the high level brake light and boot light, so check you have the correct fuses in the right place.