get_datafile_path() and get_persconffile_path() return malloc'd memory,