swap out some TAB characters causing trouble for python3