Convert getCertLocation() to native R, no use of Java.

Still needs a mechanism to find the user's UID from R for the Window's platform.