[X-update] check mkdir on temp_path, if impossible do as "safemode"