igc: Added encoding property to Writer class