Refactored Ogg output plugin.