Fix exit codes in code generator

Return 64 for command line usage errors (following the error codes in sysexits.h).