Remove .c extension from output flag arg