try the gc fix for still open files, catch possible exceptions, better error to indicate merge occured