Update node-controller.rb

fix syntax error at File.open()