Add accessible dirname property for finding Barry base path in Node.js.