Rename plugType and plugMode to type and mode, respectively.
Add a tuple for the type.
have exportInstrumentListToURL use NSFileHandle.