Replace tabs with spaces for python3 compatibility.