delete image if write failed
mark modified assets as "changed" (make sure images get re-generated)