persist key.dat