dumpgenerator: AutoPEP8-fied

* Used autopep8 to made sure the code looks nice and is actually PEP8
  compliant.

Signed-off-by: mr.Shu <mr@shu.io>

-------------- >8 --------------------

To assure the code is useful in the future it would be great to try to use some standards, such as PEP8. This is the first part of my attempt to transform the code to be more PEP8 compliant.