Don't use os.path.split and os.path.splitext directly, only from osutils.
Because only '/' is used as separator of pathname components inside zip archives, bzrlib.plugin.load_from_zips() uses custom split algorithm for handling filenames to import from zip.