fixed bug with saving of midi file in batch mode