metadatagrabber: make a couple functions static (silences compiler warnings)