Port test_file to Python3
Port objects + test_objects to python3.
Port lru_cache.py to python 3
Port refs to python 3.
Port diff_tree and walk to Python 3
Remove some code from _py3_compat.
Remove iterbytes use in dulwich.refs.
Remove dulwich._py3_compat.
Merge further improvements towards python3 support from Gary.