Removed temporary file, renamed image.