Do not show zero-size files as being cached (#8141)