Handle ValueError in octal_type
Allow a signal name like "SIGTERM" and validate signal number