fixing tabs + 80 completeness in tools/__init__.py and util/file.py.  passes all tests locally for python 2 and 3