Every railroad corporation, while employed in raising or lowering any turnpike or other way, or in making any other alterations, by means of which the said way may be obstructed, shall provide and keep in good order, suitable temporary ways to enable travelers to avoid or pass such obstructions.
R.L. 1910, § 1426.