Fix for CMS-30: when an already-existing formatted photo is edited, after creating the new image file it no longer creates another (incorrect) timestamped file name.