"""Peals extension off if possible."""

also sees os.path.splitext