Fixing unredacted files getting altered in place