def write(file, options={})
      f = open_file(file)
      f.write(to_s(options))
      f.close
    end
def write(file, options={})
      f = open_file(file)
      f.write(to_s(options))
      f.close
    end
Writes the Plan object, along with its hiearchy of child objects,
 to a properly formatted RTPConnect ascii file.

 @param [String] file a path/file string
 @param [Hash] options an optional hash parameter
 @option options [Float] :version the Mosaiq compatibility version number (e.g. 2.4) used for the output