Use pyfmt to format a Python buffer. Cf. https://github.com/Psycojoker/pyfmt