conf: use splitext() to fetch the config name
conf: use splitext() to fetch the config name

This fixes incorrect behaviour when there are multiple .'s in the config filename (e.g. '1.2.3.yml' got truncated to confname='1')

GLolol/PyLink