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. 
I'm not so proficient in python as to be sure from the top of my head this is the same, I'll just trust