Tighten ks file permissions after creating key store.