Replace a tab with spaces in python code