Update code to match new Wrapper constructor API

The Wrapper class switch from using a std::auto_ptr to a std::unique_ptr.
This code was missed in the first pass of updating all code to use the
new API.