*** Fix *** Use alternative method of determining relative path for cache file.

Previous method would break on paths that contained the value of $this->file_asset_dir more than once.