add realpath on cache key creation to avoid relative path problems