Python how insert a variable in codecs decode