tag-util.[ch]: New files for common tagging routines