Driver escapes death after windscreen pierced by railing