Fixing `splitext` usage