[generic] Support application/ogg for direct links

Also remove some debugging code.