pydo: decode python code when running in Python3

- Attempting to generate a new function from the user input actually
  generates while mixing the Unicode function definition and a byte
  array from user input uses a literal bytes.__repr__ instead of the
  intended user code