Made get_sized_data_write return a sized_ptr_t.
Made get_sized_data_write be templatized.