nuke: Forward OIIO errors to Nuke, minor code cleanups