tally: Adapt tally_new to Samba coding conventions