Fix stderr/stdout line building.