Fix: open locked file on windows during data_bag update