Change ListCtrl.write() method