Fix default permissions for key files