Fixed extras/midi_files.py.