remove ::IO in 1-arg countlines where it did not belong