serf: implement WriteKeyringFile in Serf so that we can persist received keys