Fix for head-to-head test upgrades with modified permissions on binaries.