good point, I will add `def mode` method, 0644 by default and overriding for privkey to 0600