Add transcoder to debug encoders
Add const to write method of output classes.
Fix FLAC encoding