The president has attacked the New York Times journalist for years.