Fix location of __future__.division imports
Fix byte/character handling