Fix possible exception in cert load. (#46)
Fix possible exception in cert load. (#46)

Taken from decred/dcrwallet#445

Closes #42
decred/decrediton,oktapodia/decrediton-appveyor-test,oktapodia/decrediton-appveyor-test,decred/decrediton,oktapodia/decrediton-appveyor-test,oktapodia/decrediton-appveyor-test,decred/decrediton,decred/decrediton,decred/decrediton,oktapodia/decrediton-appveyor-test,decred/decrediton