As he trudged for days through the scorching jungle with about 20 other people following a nameless smuggler, Ashraf Safi felt a tinge of gratitude.