Name them as something else, close all connections to the loaded picture. Later, rename the changed file after you delete the original.