Centralize paths derived from __dirname in paths.js