Allowing .cfg files to have optional .py extensions