Further modifications in OpenOutput and WriteCluster