Revert "removed `sys_get_temp_dir()`"

This reverts commit b178d5cd8d1271610ef1c6399adf579e4936390d.
added badges