A Malian migrant has been hailed a hero after he scaled the front of a building in Paris to save a child hanging from a fourth-floor balcony.