Correction to MidiFile end-of-track handling.