rawToCharNull function

Convert raw vectors into a character string