Drop executable bits from imported commands

Closes #32743.