Electrically controlled heat transport in graphite films