Persist directory stack across sessions