Implement slcc/get_file_extension.c