tab2space

… and I get lots of good score in pylint :P
use os.makedirs() for mkdir_p()
happier pylint
remove unused imports