Generate key store file if not exists