Found another way to get MacOpenFile to work without deleting sys.argv, which turns out to be a bad idea!
* code in traitsui was expecting sys.argv to exist to look for a path