Libya's central bank governor has fled the country, citing threats to his life from potential attacks by armed factions.