Save private key to file for later use.