Fixed encoders that were missing write header