Only change tab spacing in local buffer

My previous version would change the tab spacing upon loading a python
file, but then use that setting for all files/buffers thereafter.