Replace unsafe C functions Proposal

I think that this work needs to be split into two parts.

  1. Replace:
    1. ato*, e.g. atoi, atof e.t.c.
    2. printf, sprintf, snprintf
    3. fprintf, fwrite
    4. scanf
    5. fscanf
  2. Replace
    1. mem*, e.g. memcmp/memcpy/memset e.t.c.
    2. str*. e.g. strcpy, strcmp, strcat, strlen, strtok e.t.c.

The first part will fix half the safety issues and give us greater performance in all vtk writers.
The second part will help us fix the remaining safety issues and completely remove the char* usages, after figuring out the best cost/effective approach (which we are close to do so).