trace-indent.py now reads input from stdin instead of file and works with python3