escape backslashes in paths in generated CMakeLists