writeReplace a UploadedKeyStoreSource

Analogous change to https://github.com/jenkinsci/ssh-credentials-plugin/pull/8 though less critical than that since this remoting code at least probably worked to begin with.