Add plFileName string specialization for filename manipulation
Clean up some strncats and/or replace with safer alternatives
Replace strcat with safer alternatives wherever possible