fix perms of config files for windows