Make functions encode-message and score use byte-seq