Fix config backup/restore scripts

Restore script now *entirely* removes old backup set by deleting backup
directory recursively. Also, checks each file in the backup set to make
sure it still exists prior to restoration. Backup script does not
attempt to empty directory first unless it actually exists.