Do as.character before strsplit in error printing.