pybeam.beam_construct: implement chunk_litt using codecs (python3 support)