quotas_backup.vbs: Fixed bugs related to templates