Whenever any building is erected for the purpose of accommodating public assemblages and the rooms intended for such purpose are not on the first floor of such building, it is the duty of the persons erecting the same to provide and erect at least two fireproof stairways of ample dimensions sufficient for the sudden egress of such assemblages.