Pirfenidone is associated with fewer arrhythmic events and reduced diastolic dysfunction in patients with idiopathic pulmonary fibrosis.