change input param of generateLatticeFile method
change input param of generateLatticeFile method

- paramter 'filename':
  - string of file name: write lattice to physical file;
  - None: write output to sys.stdout
  - 'sio': StringIO mode, return output to string var,
    above cases return True if no error

Archman/beamline