With this small piece of code, we can convert RooStringVar-type headers into TObjString and also copy histograms into a new ROOT file.