Fix cache_path issues; relax appdirs dependency thus