Update duplicator.lua

Fix for save errors