More than 300 Syrian refugees were forced to flee an informal camp in northern Lebanon as a blaze raged through and burnt tents to the ground.