Man buys 1970s train for £1 to save it from scrap