TSM restore fix for v>=6.4 with dsmc restore as suggested in #356
close #356