createdb.py was not running at least on my Python, two small fixes done to make it run.