Cash crisis threat to rail master plan