Thousands of people have been left homeless after a fire gutted parts of a Rohingya camp a refugee camp in Bangladesh.