Ignore permissions of credentials file on windows

When you write a file with 0600 on windows it writes the file as 0644.
This makes the checking the credentials useless on windows.