Replace uses of scoped_ptr with unique_ptr.