Unidentified gunmen have opened fire on a convoy carrying the prime minister of Libya's UN-backed government, Fayez al-Sarraj, in Tripoli without causing any casualties, according to his administration.