Fixes spaces in graph output names.