use consistent paths for cache dir setup