That might be penny-wise and pound foolish. Pipelines cost billions to build and they manifest our reliance on oil, which in turn costs much more lifes simply through pollution than any number of railway accidents.
http://www.telegraph.co.uk/earth/environment/globalwarming/1...
Moving oil through the pipeline is bad, but it is less bad than moving by rail in light of the probabilities of human loss (though the spillage is likely to be bigger when there is an accident). At least there is an potential up of rail being freed up to move something else safer - like people.