Heat treatment of evaporated carbon films