Megaupload chief to appeal for bail in New Zealand