Two people treated by paramedics after being rescued from fire