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 sure it makes sense to break some long lines above (like former line 1329) and then have "monsters" like this. Should we break down the long regex strings?