matroskaenc: add an option to put the index at the start of the file