Convert tabs to spaces in Python