The railroad's increased shipments and cost-cutting measures were overshadowed by lower-than-expected revenue and earnings per share.