Building catches fire, mother throws baby out