unarr: revert r9556
fix path::IsSame for when GetFileInformationByHandle returns only partial information (fixes issue 2742)
fix issue 2742 without using memeq
try to prevent crashes like 67671