Writing character matrices in NEXUS format