Find TMP dir based on OS default path

Find TMP dir based on OS default path