Fix scoped_ptr -> scoped_array

Change-Id: I427c49efabbe5cb60b5dc945d9c7f48c504700f0