restore open dir / open file counters on reload