Fixed #12: Added checks to the setPrivateKey() to ensure that the passed paths can be resolved.