FL-1363: fix indentation in digestgen for python3