Harry Potter fans helped reroute a £430m electricity cable away from Dobby's memorial in Wales, where Bronze Age remains were later discovered.