Changed hard-coded / to DIRSEP constant