CMake: fix generation of Version.cpp on paths with spaces.