Move handling of ID3v2 to common utils.c code, reducing code duplication