Solution
To modify VI properties programmatically, the best way is to open a dynamic reference to each VI, use a property node to change the property you want to modify, then use an invoke node to save the VI again with the new modification.
The VI snippet below performs the operation for a single file with the reentrancy property.