Replace Unix path separators with PATH_SEPARATOR