xref format cannot contain spaces for the tag name (the first field); if there happen to be spaces in the tag name, make them underscores in the final output