Fixing issue #3 - private key export.

Thanks to d4n13 for this.  It looks like exports may actually work now.