Replace PATH_DELIM with os.pathsep