Make tests unix_only where the stubs don't work on windows.

Functionality is covered by functional tests, so we have test coverage
to fall back on until the unit tests are fixed.