fix imports to use six instead of _compat