When tracks or interval sets are modified outside of misha (e.g. files copied
manually), the cached inventory may become out of date. Calling this helper
marks the cache as dirty so the next gsetroot() forces a rescan.
gdb.mark_cache_dirty()Invisible TRUE if the dirty flag was written, FALSE otherwise.