[test] more smolder fixes for bad YAML::Tiny versions

It started failing around YAML::Tiny 1.59.
Now replace all spaces with '_' to work even with
newer YAML::Tiny versions.
Fixes GH #1078