WiP: fix environs tests on windows

Unfortunately, permission checking on Windows does not work as expected. For example, doing a:

```go
os.Chmod("C:/test.txt", 0600)
```

will set permissions to:

```
-rw-rw-rw-
```
the test complained on windows when passing those flags. If I remember correctly, the binary would not be generated.