Fix format c_name function for xfixes extension