python2-lxc module needs bytes, on the other hand python3-lxc requires text. To solve such incompatibility, use to_native other than to_bytes. This fixes #41060.