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