Fix generation of enum members with spaces in name