Abort image resize if file already exists, just update metadata to include it

After trying to undo the 'cleanup' function by restoring files from backup realized plugin was still recreating existing images because the meta data was wrong. This prevents the image from being resized again if it already exists, just updates the metadata.