Don't overwrite directory stack with an empty one

When updating vifminfo file.
Document changes in storing directory stack
Merge branch 'do-not-clear-dir-stack'