Andy Priaulx had to make a desperate exit from his Ford Chip Ganassi car in WEC after it caught fire in the pitlane.