Write RPC cert and key to correct files.