Update midifile.js

fixing keySignature key reading from stream