modify credential_utils because it os.ftruncate is not unvailable on Windows
modify credential_utils because it os.ftruncate is not unvailable on Windows

gaubert/gmvault,gaubert/gmvault,gaubert/gmvault