Add endswithsep() and use it instead of using os.sep and os.altsep directly.
This change is intended to allow hooking endswithsep() by win32mbcs
extension for MBCS support.
abort: index 00changelog.i unknown format 2!abort: requirement 'indoor-pool' not supported!