Add some const reference

Add some const reference in DataOutput