environs: fixes for Windows

This PR makes some transparent changes to implement filestorage on windows.

We cannot write files with : on the disk so we write everything with a -. This also means that anything that's read from the disk also has to contain dashes.

Depends on https://github.com/juju/utils/pull/45
It doesn't really matter but what was the reason for moving this line?