KeyPairPresistence now tries to fix folder permissions.
An exception is no longer thrown if the folder permissions can be fixed.
Fixes bug 19274.
Merge pull request #1203 from esdrubal/protect

KeyPairPresistence now tries to fix folder permissions.