Ensure cgp_tempdir exists before running sys.path.append(cgp_tempdir).