Added delete of temporary image file.