SOFTHSM-95: umask affecting the calling application.
Merge pull request #77 from bellgrim/SOFTHSM-95

SOFTHSM-95: umask affecting the calling application.