cleanup: use print function and not print keyword since it was removed in python 3.x
cleanup: use multiline strings and with statement
cleanup: use templates for steps.py and terrain.py in --create-basedir option