def FileOutputStream(filename, real_filename=None):
 assert isinstance(filename, unicode)
 if (not real_filename):
  real_filename = filename
 output = open(real_filename, 'wb')
 return OutputStream(output, filename=filename)

def FileOutputStream ( filename , real_filename = None ) : assert isinstance ( filename , unicode ) if ( not real_filename ) : real_filename = filename output = open ( real_filename , 'wb' ) return OutputStream ( output , filename = filename )
create an output stream into file with given name .