Increase the number of histories to be saved.
Distinguish buffers of files that are the same name by their ancestor directories.