Add trace logging of various conditions under which we'll hide a file, for
debugging/triage.