Accounts for hardlinks more accurately than the original version that came