1021119 - make sure private keys are never world readable

This should prevent similar mistakes in future.