Make sure rle_encode never writes a byte that has 0 length