More stringent check to determine if path is a hashed file to avoid false positives.