Add get_os_tmp_folder method.