* all: Added matroska writing. Patch by Mike Matsnev.