Migrated image save to latest Hugo's version