query_fileowner: use resolved filelist if available