Pathlib To String Function In C