Add +x check to msftidy

From #2597.