[Bug 669] New - Illegal C characters from the program name are not filtered while creating the spec.c file