Fix problem with potential UnauthorizedAccess when using CCuserDefault on Mac