Tupan: add a way to configure cache-dir path.