Use str(n)cpy instead of strcat to avoid valgrind falling over