[PD-dev] changing glob_setfilename() to handle spaces in the dirname