Using os.path.sep as PATH_SEPARATOR.