Moved build_message() from parser.py and midifiles.py into messages.py.