Added an option to MidiFile to set the format type.