dev: Rename vars to constants

The module name vars collides with the built-in function
vars(), which for example prevents linting tools from detecting
when vars is used without having been imported, but also makes
it needlessly difficult to use the standard function while also
using the module.