Fix writing vapis with (unowned type)[]