py3 wants things to be encoded beforehand, so I did.