Update misc/check-hardlinks

Handle multiple hardlinks files