dsa-check-statusfile: port to python3