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-
```
I have no idea why I did that... It was late. Will fix