Merge "libbase: fix the way to find temp dir."