Add char safe underscore function for bogus app names