use global namespace for class IO naming conflict
Merge pull request #3154 from mway/fix-osx-guest-namespace

guests/darwin: global namespace for class IO naming conflict