bugfix: make local imports in the style required by python3

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