cachefiles: use path_get instead of lone dget