After building and running many versions of Sage, my .sage directory is littered with files with names like
_Applications_sage_builds_sage-5.0.beta7-gcc_devel_sage-main-lazy_import_cache.pickle
We should instead store these in a subdirectory of .sage. The attached patch makes this change.
Component: misc
Author: John Palmieri
Reviewer: Florent Hivert
Merged: sage-5.0.beta10
Issue created by migration from https://trac.sagemath.org/ticket/12670