Handle link celltype when writing to csv