Make writethroughfile tests Windows only

Correcting an error made in a previous commit where these were made
non-platform-specific. WritethroughFile uses Windows native APIs so won't
pass on Mono.