Sync OpenContainer hacks for WinRT.

I have a two-day deadline and weird COM marshalling errors. Sue me.