Delete formatted images after image upload

This change fixes an issue where existing formatted images are sent when
a filename is reused (by overwrite or by coincidence). To users this
manifests as a file overwrite appearing not to work - the thumbnails
in the CMS, for example, show the old image until regeneration is forced.