test: fix issues with spaces in paths
cgame: fix var scope (refs #56)
cgame: fix incorrect print
cgame: fix var scope (refs #56)