Some fixes on restore archives code. This is 1.2.1 for OSX.