The Worfiles API redefines the built-in open. That's bad practice and if you're not careful it may lead to issues. Maybe it would be better to rename it to open_file or something like this?
https://github.com/getavalon/core/blob/master/avalon/tools/workfiles/app.py#L362
https://github.com/getavalon/core/tree/master/avalon/tools/workfiles#implementing-a-new-host-integration-for-work-files
Every workio.py file for the hosts should then be updated as well.