change process.cwd to process.cwd() for node 0.10.x compatiblity (fixed #16)