Changing type of PublicKeyMaterial to blob so content gets base64-encoded prior to upload.  Fixes #41.