bugfix: make manage.py python3 compatible

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>