Refactoring of write_strsxp

* src/rmatio.c (write_strsxp): Calls write_elmt with string items or
  create_char_MAT_variable

* src/rmatio.c (create_char_MAT_variable): New function to create the
  char matvar_t variable