adds path.join to fs calls for production